runtime.mspan.largeType (field)
15 uses
runtime (current package)
arena.go#L595: s.largeType.PtrBytes = uintptr(ptr) - base + typ.PtrBytes
arena.go#L600: doubleCheckHeapPointersInterior(uintptr(ptr), uintptr(ptr), typ.Size_, typ.Size_, typ, &s.largeType, s)
arena.go#L803: span.largeType.Size_ = span.elemsize
arena.go#L1116: *(*uintptr)(unsafe.Pointer(&s.largeType)) = uintptr(unsafe.Pointer(s.limit))
arena.go#L1117: *(*uintptr)(unsafe.Pointer(&s.largeType.GCData)) = s.limit + unsafe.Sizeof(_type{})
arena.go#L1118: s.largeType.PtrBytes = 0
arena.go#L1119: s.largeType.Size_ = s.elemsize
malloc.go#L1187: span.largeType = nil
malloc.go#L1188: header = &span.largeType
mbitmap.go#L194: typ = span.largeType
mgcsweep.go#L821: if s.largeType != nil && s.largeType.TFlag&abi.TFlagUnrolledBitmap != 0 {
mgcsweep.go#L825: s := spanOf(uintptr(unsafe.Pointer(s.largeType)))
mgcsweep.go#L831: *(*uintptr)(unsafe.Pointer(&s.largeType)) = 0
mheap.go#L488: largeType *_type // malloc header for large objects.
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |